<!-- 失踪人员(龙文友) -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	template="/layout/page/form/page-fieldset-template.xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:sinox="http://www.sinosoft.com.cn/sinox">
	<ui:param name="pvb" value="#{commonContentViewBean.parent}" />
	<ui:param name="szryVB" value="#{commonContentViewBean}" />
	<ui:param name="compId" value="#{commonContentViewBean.id}" />
	<ui:param name="compTitle" value="失踪人员信息" />
	<ui:param name="compToggleable" value="true" />
	<ui:define name="compHiddens">
	</ui:define>
	<ui:define name="compContent">
		<ui:decorate template="/layout/input/editable-template.xhtml">
			<!-- 第一行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="bgrxm" />
				<ui:param name="compBean2Id" value="bgrxb" />
				<ui:param name="compBean1Lable" value="报告人姓名" />
				<ui:param name="compBean2Lable" value="报告人性别" />

				<ui:define name="compBean1Content">
					<h:inputText id="bgrxm" value="#{szryVB.bgr_xm}" />
				</ui:define>

				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="bgrxb" codeSetId="id_c_sex"
						value="#{szryVB.bgr_xb}" formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第二行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="bgrcsrq" />
				<ui:param name="compBean2Id" value="bgrsfzh" />
				<ui:param name="compBean1Lable" value="报告人出生日期" />
				<ui:param name="compBean2Lable" value="报告人身份证号" />

				<ui:define name="compBean1Content">
					<p:calendar id="bgrcsrq" size="33" mode="popup"
						showOn="button" value="#{szryVB.bgr_birthday}"
						pattern="yyyy年MM月d日 " locale="zh" popupIconOnly="true" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="bgrsfzh" value="#{szryVB.bgr_shfzh}" />
				</ui:define>
			</ui:decorate>

			<!-- 第三行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="bgrdh" />
				<ui:param name="compBean2Id" value="bgrgx" />
				<ui:param name="compBean1Lable" value="报告人联系电话" />
				<ui:param name="compBean2Lable" value="报告人与失踪人员关系" />

				<ui:define name="compBean1Content">
					<h:inputText id="bgrdh" value="#{szryVB.bgr_tel}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="bgrgx"
						codeSetId="id_c_sz_rygx" value="#{szryVB.bgr_rel}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第四行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="bgrdw" />
				<ui:param name="compBean1Lable" value="报告人工作单位" />

				<ui:define name="compBean1Content">
					<h:inputText id="bgrdw" value="#{szryVB.bgr_danwei}" />
				</ui:define>
			</ui:decorate>

			<!-- 第五行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="bgrxxdzh" />
				<ui:param name="compBean1Lable" value="报告人详细地址" />

				<ui:define name="compBean1Content">
					<h:inputText id="bgrxxdzh" value="#{szryVB.bgr_addr}" />
				</ui:define>
			</ui:decorate>

			<!-- 第七行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="bgrhjxzh" />
				<ui:param name="compBean1Lable" value="报告人户籍详址" />

				<ui:define name="compBean1Content">
					<h:inputText id="bgrhjxzh" value="#{szryVB.bgr_huji}" />
				</ui:define>
			</ui:decorate>

			<!-- 第八行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="szdd" />
				<ui:param name="compBean2Id" value="szsj" />
				<ui:param name="compBean1Lable" value="失踪地点" />
				<ui:param name="compBean2Lable" value="失踪时间" />

				<ui:define name="compBean1Content">
					<h:inputText id="szdd" value="#{szryVB.sz_didian}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<p:calendar id="szsj" size="33" mode="popup"
						showOn="button" value="#{szryVB.sz_time}"
						pattern="yyyy年MM月d日 HH:mm:ss" locale="zh" popupIconOnly="true" />
				</ui:define>
			</ui:decorate>

			<!-- 第九行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="fxszsj" />
				<ui:param name="compBean2Id" value="jbdw" />
				<ui:param name="compBean1Lable" value="发现失踪时间" />
				<ui:param name="compBean2Lable" value="接报单位" />

				<ui:define name="compBean1Content">
					<p:calendar id="fxszsj" size="33" mode="popup"
						showOn="button" value="#{szryVB.fx_time}"
						pattern="yyyy年MM月d日 HH:mm:ss" locale="zh" popupIconOnly="true" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="jbdw" value="#{szryVB.jb_danwei}" />
				</ui:define>
			</ui:decorate>

			<!-- 第十行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="jbdwxxmch" />
				<ui:param name="compBean1Lable" value="接报单位详细名称" />

				<ui:define name="compBean1Content">
					<h:inputText id="jbdwxxmch"
						value="#{szryVB.jb_danwei_fullname}" />
				</ui:define>

			</ui:decorate>

			<!-- 第十一行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="jbrxm" />
				<ui:param name="compBean2Id" value="jbrdh" />
				<ui:param name="compBean1Lable" value="接报人姓名" />
				<ui:param name="compBean2Lable" value="接报人联系电话" />

				<ui:define name="compBean1Content">
					<h:inputText id="jbrxm" value="#{szryVB.jb_name}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="jbrdh" value="#{szryVB.jb_tel}" />
				</ui:define>
			</ui:decorate>

			<!-- 第十二行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="jyqk" />
				<ui:param name="compBean1Lable" value="简要情况" />

				<ui:define name="compBean1Content">
					<h:inputTextarea style="width:560px;height:100px;overflow:auto;"
						id="jyqk" effectDuration="400"
						value="#{szryVB.abstruct_info}" />
				</ui:define>
			</ui:decorate>
			<!-- 第十四行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="szryxm" />
				<ui:param name="compBean2Id" value="szrybm" />
				<ui:param name="compBean1Lable" value="失踪人员姓名" />
				<ui:param name="compBean2Lable" value="失踪人员别名" />

				<ui:define name="compBean1Content">
					<h:inputText id="szryxm" value="#{szryVB.fields.name}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="szrybm"
						value="#{szryVB.fields.aliasname}" />
				</ui:define>
			</ui:decorate>

			<!-- 第十五行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="szryxb" />
				<ui:param name="compBean2Id" value="szrymz" />
				<ui:param name="compBean1Lable" value="失踪人员性别" />
				<ui:param name="compBean2Lable" value="失踪人员民族" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="szryxb"
						codeSetId="id_c_sz_xb" value="#{szryVB.fields.sex}"
						formId="#{commonContentViewBean.id}_form" />

				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="szrymz"
						codeSetId="id_c_sz_mz" value="#{szryVB.fields.nation}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第十六行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="dnabh" />
				<ui:param name="compBean2Id" value="sfjydna" />
				<ui:param name="compBean1Lable" value="DNA的编号" />
				<ui:param name="compBean2Lable" value="是否检验DNA信息" />

				<ui:define name="compBean1Content">
					<h:inputText id="dnabh" value="#{szryVB.DNA_id}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="sfjydna"
						codeSetId="id_c_sz_ifdna" value="#{szryVB.DNA_yz}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第十七行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="szrycsrq" />
				<ui:param name="compBean2Id" value="szrysfzhh" />
				<ui:param name="compBean1Lable" value="失踪人员出生日期" />
				<ui:param name="compBean2Lable" value="失踪人身份证号" />

				<ui:define name="compBean1Content">
					<p:calendar id="szrycsrq" size="33" mode="popup"
						showOn="button" value="#{szryVB.fields.birthday}"
						pattern="yyyy年MM月d日 " locale="zh" popupIconOnly="true" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="szrysfzhh"
						value="#{szryVB.fields.idcardno}" />
				</ui:define>
			</ui:decorate>

			<!-- 第十八行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="szrygzdw" />
				<ui:param name="compBean1Lable" value="失踪人工作单位" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="szrygzdw"
						codeSetId="id_c_sz_dw" value="#{szryVB.sz_danwei}"
						formId="#{commonContentViewBean.id}_form" />

				</ui:define>
			</ui:decorate>

			<!-- 第十九行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="szryhjxxdzh" />
				<ui:param name="compBean1Lable" value="失踪人户籍地详细住址" />

				<ui:define name="compBean1Content">
					<h:inputText id="szryhjxxdzh"
						value="#{szryVB.fields.nativeplace}" />
				</ui:define>
			</ui:decorate>

			<!-- 第二十行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="szryxzhxxdzh" />
				<ui:param name="compBean1Lable" value="失踪人现住址详细地址" />

				<ui:define name="compBean1Content">
					<h:inputText id="szryxzhxxdzh"
						value="#{szryVB.sz_now_addr}" />
				</ui:define>
			</ui:decorate>

			<!-- 第二十一行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="szryky" />
				<ui:param name="compBean2Id" value="szrytx" />
				<ui:param name="compBean1Lable" value="失踪人口音" />
				<ui:param name="compBean2Lable" value="失踪人体形" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="szryky"
						codeSetId="id_c_sz_ky" value="#{szryVB.fields.accent}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="szrytx"
						codeSetId="id_c_sz_tx" value="#{szryVB.fields.bodilyform}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第二十二行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="szrylx" />
				<ui:param name="compBean2Id" value="szrysg" />
				<ui:param name="compBean1Lable" value="失踪人脸型" />
				<ui:param name="compBean2Lable" value="失踪人身高" />

				<ui:define name="compBean1Content">

					<sinox:codeSetInputTree id="szrylx"
						codeSetId="id_c_sz_lx" value="#{szryVB.fields.faceform}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="szrysg" value="#{szryVB.fields.stature}" />厘米
				</ui:define>
			</ui:decorate>

			<!-- 第二十三行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="szryxxing" />
				<ui:param name="compBean2Id" value="szryzuch" />
				<ui:param name="compBean1Lable" value="失踪人血型" />
				<ui:param name="compBean2Lable" value="失踪人足长" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="szryxxing"
						codeSetId="id_c_sz_xx" value="#{szryVB.fields.bloodtype}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="szryzuch"
						value="#{szryVB.fields.footsize}" />毫米
				</ui:define>
			</ui:decorate>

			<!-- 第二十四行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="ssjbltzh" />
				<ui:param name="compBean1Lable" value="损伤及病理特征" />

				<ui:define name="compBean1Content">
					<h:inputTextarea style="width:560px;height:100px;overflow:auto;"
						id="ssjbltzh" effectDuration="400"
						value="#{szryVB.sz_suishang}" />
				</ui:define>
			</ui:decorate>

			<!-- 第二十五行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="sswp" />
				<ui:param name="compBean1Lable" value="随身物品" />

				<ui:define name="compBean1Content">
					<h:inputTextarea style="width:560px;height:100px;overflow:auto;"
						id="sswp" effectDuration="400"
						value="#{szryVB.sz_wuping}" />
				</ui:define>
			</ui:decorate>

			<!-- 第二十六行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="yzqk" />
				<ui:param name="compBean1Lable" value="衣着情况" />

				<ui:define name="compBean1Content">
					<h:inputTextarea style="width:560px;height:100px;overflow:auto;"
						id="yzqk" effectDuration="400"
						value="#{szryVB.sz_yizhuo}" />
				</ui:define>
			</ui:decorate>

			<!-- 第二十七行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="beizhu" />
				<ui:param name="compBean1Lable" value="备注" />

				<ui:define name="compBean1Content">
					<h:inputTextarea style="width:560px;height:100px;overflow:auto;"
						id="beizhu" effectDuration="400"
						value="#{szryVB.fields.annex}" />
				</ui:define>
			</ui:decorate>
		</ui:decorate>

	</ui:define>



	<ui:define name="compButtons">
		
			<p:commandButton
			 actionListener="#{sZRYAction.save}" title="保存"
				onstart="return SinoPortal.Validation.validateForm('#{compId}_form')"
				onclick="#{commonContentViewBean.id}_dialog.hide();"
				image="./img/icons/add.png" value="保存" style="margin:5px;">
				<h:inputHidden value="#{commonContentViewBean.id}" />
				<h:inputHidden value="#{pvb.id}" />
			</p:commandButton>
		
			<p:commandButton
			 	title="重置"
				onstart="this.disabled=true"
				onclick="#{commonContentViewBean.id}_dialog.hide();"
				oncomplete="btnAction('#{pvb.id}','失踪人员','850','560','icons/cog_add.png','add','duty-case-scene','psn_disperson_enrol');"
				image="./img/icons/add.png" value="重置" style="margin:5px;">
				
			</p:commandButton>

		<p:commandButton
		 title="取消" onstart="this.disabled=true"
			onclick="#{commonContentViewBean.id}_dialog.hide();"
			image="ui-icon-disk" value="取消">
		</p:commandButton>
	</ui:define>
</ui:composition>
